
@import url(../../../styles/common.less);
:global{
    .clipboard{
        display: inline-block;
        .clipboard__container{
            .clipboard__container__text{
                width: fit-content;
                display: flex;
                position: relative;
                flex-direction: column;
                align-items: center;
                .clipboard__container_tooltip{
                    width: fit-content;
                    padding: 0.5rem 0.8rem;
                    width: fit-content;
                    display: flex;
                    justify-content: center;
                    position: absolute;
                    top: -42px;
                    z-index: 9999;
                    background: #000;
                    border-radius: 5px;
                    display: none;
                    .clipboard__container_tooltip_btn{
                        cursor: pointer;
                        font-size: 0.85rem;
                        white-space: nowrap;
                        color: #fff;
                        .copy_icon{
                            margin-left: 0.3rem;
                            color: var(--iconColor);
                        }
                    }
                }
    
                .clipboard__container_tooltip::after{
                    border: 9px solid;
                    border-left-width: 0;
                    border-bottom-width: 0;
                    border-right-color: transparent;
                    transform: rotate(225deg);
                    border-top-color:#000;
                    display: block;
                    content: "";
                    height: 0;
                    width: 0;
                    position: absolute;
                    bottom: -4px;
    
    
                }
            }
            .clipboard__container__text:hover .tooltip_hover{
                display: flex;
            }
        }

    }
}


@media screen and (max-width: @mobile_screen) {
   :global{
    .clipboard__container__text:hover .tooltip_hover{
        display: none !important;
    }
   }
}